package com.ruoyi.dataMain.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消耗总表业务对象 data_consumption
 *
 * @author linziheng
 * @date 2024-01-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataConsumptionBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 年月
     */
    private String yearMouth;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dataTime;

    /**
     * 帐户ID
     */
    private String accountId;

    /**
     * 帐户名称
     */
    private String accountName;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 总消耗
     */
    private BigDecimal totalConsumption;

    /**
     * 非赠款消耗
     */
    private BigDecimal noConsumption;

    /**
     * 赠款消耗
     */
    private BigDecimal consumption;

    /**
     * 合作媒体
     */
    private String signatory;

    /**
     * 供应商id
     */
    private String supplierId;

    /**
     * 供应商
     */
    private String supplierName;

    /**
     * 客户ID
     */
    private String customId;

    /**
     * 客户简称
     */
    private String customName;

    /**
     * 业务部门id
     */
    private String businessUnit;

    /**
     * 业务部门
     */
    private String businessUnitName;

    /**
     * 备注
     */
    private String remark;
    private String saleUser;
    private List<String> nickName;

}
